import axios from 'axios';
import { number } from 'echarts';

export interface UserData {
  ID: number;
  CreatedAt: string;
  UpdatedAt: string;
  DeletedAt: string;
  name: string;
  telphone: number;
  password: string;
}

export interface UserSet {
  code: number;
  data: UserData[];
}

export function QueryConsumerList() {
  return axios.get('/api/auth/info');
}
